package asteroids.model.programs.parsing.expressions;

import java.util.Map;

import asteroids.model.Ship;
import asteroids.model.programs.parsing.types.*;

/**
 * A class of logical expressions.
 * A logical expression involves a single logic operator applied to a left-hand expression and a right-hand expression.
 * 
 * @author Thijs Dieltjens - Wim Konings
 * @version 2.0
 */
public abstract class LogicalExpr extends BinOpExpr {

	public LogicalExpr(Expression e1, Expression e2,int line, int column) {
		super(e1, e2,line,column);
	}

	@Override
	public abstract BooleanLiteral eval(Ship ship, Map<String, Type> globals);
}
